home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 051-075 / scopedisk62 / jumble / jumble.doc < prev    next >
Text File  |  1995-03-19  |  2KB  |  52 lines

  1. Do you like to solve anagrams?  Do you get stumped on word jumbles?
  2. This may be your lucky day!
  3.  
  4. JUMBLE is a program that will provide all possible arrangements of any
  5. input text.  Just give it a word and let it go.  All you have to do is pick
  6. out an answer from the list produced.  What could be easier?
  7.  
  8. There is one small problem, though.  JUMBLE gives you 'ALL' possible
  9. arrangements of the input text.  The larger word you give it, the longer
  10. the list of anagrams.  And the list grows fast!
  11.  
  12.    Example: 2 letters = 2 words
  13.             3 letters = 6 words
  14.             4 letters = 24 words
  15.             5 letters = 120 words
  16.             6 letters = 720 words
  17.             7 letters = 5040 words
  18.             8 letters = 40320 words
  19.             9 letters = 362880 words
  20.  
  21.    You don't want to look thru the list for 20 letters, trust me!
  22.  
  23. I have provided a filter option that may pare down the list for you.  If
  24. you add the -f switch when JUMBLE is run, it will not print 'invalid' words.
  25. My definition of invalid is any word that has either 3 vowels together or 4
  26. consonants together.  It may not help, but it can't hurt and you don't have
  27. to use it.  If you have another filter condition that you would like, let
  28. me know and I'll try to add it.
  29.  
  30. To run, just type JUMBLE (optionally the '-f' flag) then the text.  If the
  31. text has any imbedded spaces just enclose the whole text string in quotes.
  32. You can ABORT this thing at any time by pressing CTRL-C.
  33.  
  34.   Example: JUMBLE abc
  35.            JUMBLE amiga
  36.            JUMBLE -f amiga
  37.            JUMBLE "hi ho"
  38.            JUMBLE BigWordList   <- I hope you have a lot of free time.
  39.  
  40. I didn't create the algorithm for this myself.  I can't remember exactly
  41. where I stole it from, but it was in PASCAL on an MS-DOS machine somewhere.
  42. You are free to optimize, change, enhance, or otherwise mangle this all you
  43. want.  I've included the Manx 'C' source code.
  44.  
  45. I have actually used it to solve the WORD JUMBLE in the Sunday paper so I
  46. will say that it does do what it is advertised to do.  Just keep the words
  47. short or you will ruin your eyes staring at the screen.
  48.  
  49. M.D.Groshart
  50. 26 Jan 89
  51. AUoH #84
  52.